<template>
  <tr>
      <td>{{index+1}}</td>
      <td>{{item.name}}</td>
      <td>{{item.price}}</td>
      <td>{{item.count}}</td>
      <td>{{total}}</td>
  </tr>
</template>

<script>
export default {
props:["item","index"],
computed: {
    total(){
return this.item.price*this.item.count
    }
}
}
</script>

<style>

</style>